home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
1,000 Game Levels 2
/
1,000 Game Levels 2.iso
/
DOSARC
/
BOWHUNT.ZIP
/
TITLE.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1994-05-21
|
2KB
|
74 lines
Program Coder;
uses Crt, Graph;
var
Gd, Gm : integer;
y, Size : integer;
c1 : integer;
c2 : integer;
c3 : integer;
c4 : integer;
key : char;
Procedure Start;
begin
randomize;
Gd := Detect;
InitGraph(Gd, Gm, '');
if GraphResult <> grOk then Halt(1);
Y := 0;
SetBkColor(black);
repeat
c1 := random(GetMaxColor);
c2 := random(GetMaxColor);
c3 := random(GetMaxColor);
c4 := random(GetMaxColor);
SetColor(c1);
delay(150);
SetTextStyle(TriplexFont, HorizDir, 10);
OutTextXY(190, 40, 'Bow');
SetColor(c2);
OutTextXY(100, 160, 'Hunter');
SetColor(c3);
SetTextStyle(TriplexFont, HorizDir, 4);
OutTextXY(80, 350, 'To play game, press any key');
SetColor(c4);
OutTextXY(30,400,'For how to play the game, press H');
until keypressed;
key:=readkey;
OutTextXY(50,50,key);
end;
procedure help;
begin
cleardevice;
SetColor(lightcyan);
OutTextXY(110,50,'How to play Bow-Hunter');
setcolor(red);
line (110,90,504,90);
SetTextStyle(Smallfont, HorizDir, 7);
setcolor(Lightblue);
OutTextXY(25,150,'Bow-Hunter is an easy to use target shooting game.');
OutTextXY(25,180,'It simulates an archery target, guided by the mouse.');
OutTextXY(45,240,'Simply aim with the mouse pointer, and press the');
OutTextXY(45,270,'left mouse button to fire an arrow at the target.');
OutTextXY(25,320,'You have one second to fire, and your score will be');
OutTextXY(25,350,'modified by accuracy of your shot and time remaining.');
SetColor(LightRed);
OutTextXY(200,400,'Press any key to play');
repeat until keypressed;
end;
begin
start;
if (key='h') or (key='H') then help;
end.